import { Card, PageHeader, Descriptions } from 'antd'
export const FormExampleContainer = props => {
    const { children, title, description } = props
    return (
        <>
            < PageHeader title={title} >
                <Descriptions>
                    <Descriptions.Item label={title}>{description}</Descriptions.Item>
                </Descriptions>
            </PageHeader >
            <div className='formContainer'>
                <Card className='formCard'>
                    {children}
                </Card>
            </div>
        </>
    )

}